<?php

namespace common\validate;

class UpstreamTask extends BaseValidate
{
    // 验证规则
    protected $rule = [];

    // task_id 验证场景定义
    public function sceneGetUpstreamPublishFileByTaskId()
    {
        return $this->append("param", "require|array")->append("param.task_id", "require");
    }
}
